package client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface AdminServiceAsync {

	void getRepositories(final AsyncCallback<List<RepositoryDTO>> asyncCallback);

	void updateRepositoryEnabledFlag(long id, Boolean value, AsyncCallback<Void> asyncCallback);

	void getRepositoryInformation(long id, AsyncCallback<RepositoryDTO> asyncCallback);

	void updateRepository(RepositoryDTO repositoryDTOForUpdate, AsyncCallback<Void> asyncCallback);

	void saveNewRepository(RepositoryDTO repository, AsyncCallback<Void> asyncCallback);

}
